package comm.suger.web.model.entity;

import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 系统用户类
 * @author wxb
 * @time 2014-10-20
 * @version  1.0
 *
 */
public class SysUser  implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7967255032104632161L;
	
		private Long uid;  //用户id
		private String uname;  //用户名
	    private String passwd; // 密码
	    private String age;  //年龄
	    private String phone; //电话
	    
	    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
	    private Date ctime;//创建时间
	    
		
		public Long getUid() {
			return uid;
		}
		public void setUid(Long uid) {
			this.uid = uid;
		}
		public String getPasswd() {
			return passwd;
		}
		public void setPasswd(String passwd) {
			this.passwd = passwd;
		}
		public String getUname() {
			return uname;
		}
		public void setUname(String uname) {
			this.uname = uname;
		}
		public String getAge() {
			return age;
		}
		public void setAge(String age) {
			this.age = age;
		}
		public String getPhone() {
			return phone;
		}
		public void setPhone(String phone) {
			this.phone = phone;
		}
		public Date getCtime() {
			return ctime;
		}
		public void setCtime(Date ctime) {
			this.ctime = ctime;
		}
}
